<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>query_question</title>
</head>
<body>
<form action="" method="post">
    {% csrf_token %}
    <input type="text" placeholder="查询题目" name="wd">
    <input type="submit" value="搜索">
</form>

{% for question in questions %}
    {{ question.title }}
    <br>
{% endfor %}

</body>
</html>